<?php
/**
 * Copyright © 2017 Mazentop. All rights reserved.
 * See COPYING.txt for license details.
 */
// @codingStandardsIgnoreFile

/**
 * @var \Magento\Theme\Block\Html\Header\Logo $block
 */
?>
<style>
    .footer-main .page-main .links ul.active{
        display: block !important;
    }
</style>
<div class="page-footer">
    <div class="footer-share">
        <?php echo $block->getLayout()->createBlock('Magento\Cms\Block\Block')->setBlockId('footer_share')->toHtml(); ?>
    </div>
    <div class="footer-main">
        <div class="page-main">
            <?php echo $block->getLayout()->createBlock('Magento\Cms\Block\Block')->setBlockId('footer_links_company')->toHtml(); ?>
        </div>
    </div>
</div>
<!--<div style="width: 74%; margin: 1rem auto; padding: 1.4rem; box-sizing: border-box; border: 2px dashed #4986e8; border-radius: .5rem; text-align: center;">
    <p class="footer-tips" style="color: #666; text-align: center;">Payment methods</p>
    <img class="img" src="https://m.unice.com/skin/frontend/longqi/wap/images/unice-footer-payment.jpg" alt="Payment methods" />
    <p class="footer-tips" style="color: #666; text-align: center;">Full security</p>
    <img class="img" src="https://m.unice.com/skin/frontend/longqi/wap/images/unice-footer-security.jpg" alt="Full security" /></div>-->
<!--<div class="footer-menu">
    <ul>
        <li class="home">
            <a href="<?php /*echo $this->getUrl();*/?>">
                <div class="img"><img src="<?php /*echo $this->getViewFileUrl('images/home.png'); */?>" alt="<?php /*echo __('Home')*/?>" /></div>
                <div  class="name"><?php /*echo __('Home')*/?></div>
            </a>
        </li>
        <li class="account">
            <a href="<?php /*echo $this->getUrl('customer/account/');*/?>">
                <div class="img"><img src="<?php /*echo $this->getViewFileUrl('images/account.png'); */?>" alt="<?php /*echo __('Account')*/?>" /></div>
                <div  class="name"><?php /*echo __('Account')*/?></div>
            </a>
        </li>
        <li class="cart">
            <?php /*echo $block->getChildHtml('minicart');*/?>
            <a href="<?php /*echo $this->getUrl('checkout/cart/');*/?>">
                <div class="img"><img src="<?php /*echo $this->getViewFileUrl('images/cart.png'); */?>" alt="<?php /*echo __('Cart')*/?>" /></div>
                <div  class="name"><?php /*echo __('Cart')*/?></div>
            </a>
        </li>
        <li class="wishlist">
            <a href="<?php /*echo $this->getUrl('wishlist');*/?>">
                <div class="img"><img src="<?php /*echo $this->getViewFileUrl('images/wishlist.png'); */?>" alt="<?php /*echo __('Wish List')*/?>" /></div>
                <div class="name"><?php /*echo __('Wish list')*/?></div>
            </a>
        </li>
        <li class="chat">
            <a href="<?php /*echo $this->getUrl('customer/account/');*/?>">
                <div class="img"><img src="<?php /*echo $this->getViewFileUrl('images/chat.png'); */?>" alt="<?php /*echo __('Chat')*/?>" /></div>
                <div class="name"><?php /*echo __('Chat')*/?></div>
            </a>
        </li>
    </ul>
</div>-->
<script>
require([
    "jquery"
], function ($) {
    $(function () { 
        $('.footer-main .links .title').click(function () {
            $(this).toggleClass('active').siblings().removeClass('close');
            $(this).siblings('ul').toggleClass('active').removeClass('close');
        });
    })
})
</script>